<template>
  <div>
        <TodoMainCopy v-for="todo in todos" :key="todo.id" :todo="todo"/>
  </div>
</template>

<script>
import {mapState} from "vuex";
import TodoMainCopy from "./TodoMainCopy.vue";

export default {
    name:"List",
    components:{TodoMainCopy},
    computed:{
        ...mapState(["todos"])
    }
}
</script>